let isProduction = true 
// if(process.env.NODE_ENV === 'development'){
//     console.log('开发环境')
// 	isProduction = true
// }else{
//     console.log('生产环境')
// 	isProduction = false
// }

// * 测试环境 还要修改 apiConfig.js *
// * 改为本地测试需要看是否影响子页面（域名不同。本地存储不同）*
// let baseUrl = isProduction ? 'http://192.168.1.54' : 'http://192.168.1.123';
// let baseUrl = isProduction ? 'http://192.168.2.12' : 'http://192.168.1.84';
// let h5Host = isProduction ? 'http://192.168.1.123/hukaApp2'  :'http://192.168.1.60:8090';
// let uploadFileUrl = isProduction ?  baseUrl + ':9988/houseTransaction/yzLongRentalController/uploadSingle' :  baseUrl + ':8082/houseTransaction/yzLongRentalController/uploadSingle'


// //外网地址 还要修改 apiConfig.js
let baseUrl = isProduction ? 'http://ihome.qicp.vip' : 'http://192.168.1.84';
let h5Host = isProduction ? 'http://ihome.qicp.vip:380/hukaApp2'  :'http://192.168.1.60:8090';
let uploadFileUrl = isProduction ?  baseUrl + ':38081/houseTransaction/yzLongRentalController/uploadSingle' :  baseUrl + ':38081/houseTransaction/yzLongRentalController/uploadSingle'






//线上环境
// let baseUrl = isProduction ? 'https://zhu6.com' : 'http://192.168.1.90';
// let h5Host = isProduction ? 'https://zhu6.com/hukaApp2'  :'http://192.168.1.60:8090' ;
// let uploadFileUrl = isProduction ?  baseUrl + ':8091/houseTransaction/yzLongRentalController/uploadSingle' :  baseUrl + ':8082/houseTransaction/yzLongRentalController/uploadSingle'

export default {
	baseUrl,
	h5Host,
	uploadFileUrl
}